package org.budo.netty.servlet.server.handler.servlet.registration;

import java.io.Serializable;

import javax.servlet.DispatcherType;

/**
 * @author li
 */
public class BudoFilterMapping implements Serializable {
    private static final long serialVersionUID = -3410396425378534722L;

    private String[] urlPatterns;

    private DispatcherType[] dispatcherTypes;

    public BudoFilterMapping(DispatcherType[] dispatcherTypes, String[] urlPatterns) {
        this.dispatcherTypes = dispatcherTypes;
        this.urlPatterns = urlPatterns;
    }

    public DispatcherType[] getDispatcherTypes() {
        return this.dispatcherTypes;
    }

    public String[] getUrlPatterns() {
        return this.urlPatterns;
    }
}